package com.example.wl.tiaoyinqi.yueqifragments;

import com.example.wl.tiaoyinqi.R;

/**
 * Created by wl on 2016/5/24.
 */
public class GuzhengFragment extends HengxianYueqiFragmen {

    @Override
    int getLayoutResId() {
        return R.layout.fragment_guzheng;
    }

    @Override
    public int[] getQinzhenLeftMargins() {
        int[] margins = new int[21];
        for (int i = 0; i < 21; i++) {
            margins[i] = 39 + i * 24;
        }
        return margins;
    }

    @Override
    public int[] getLeftTopMargins() {
        return getTopMargins();
    }

    @Override
    public int[] getRightTopMargins() {
        return getTopMargins();
    }

    @Override
    public int[] getLeftMargins() {
        return new int[21];
    }

    private int[] getTopMargins() {
        int[] topMargins = new int[21];
        for (int i = 0; i < 21; i++) {
            topMargins[i] = 90 * i + 333;
        }
        return topMargins;
    }
}
